﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200031D RID: 797
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClockParkStartScriptCsReq : IMessage<ClockParkStartScriptCsReq>, IMessage, IEquatable<ClockParkStartScriptCsReq>, IDeepCloneable<ClockParkStartScriptCsReq>, IBufferMessage
	{
		// Token: 0x17000A50 RID: 2640
		// (get) Token: 0x060023A5 RID: 9125 RVA: 0x00064CF9 File Offset: 0x00062EF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClockParkStartScriptCsReq> Parser
		{
			get
			{
				return ClockParkStartScriptCsReq._parser;
			}
		}

		// Token: 0x17000A51 RID: 2641
		// (get) Token: 0x060023A6 RID: 9126 RVA: 0x00064D00 File Offset: 0x00062F00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClockParkStartScriptCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000A52 RID: 2642
		// (get) Token: 0x060023A7 RID: 9127 RVA: 0x00064D12 File Offset: 0x00062F12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClockParkStartScriptCsReq.Descriptor;
			}
		}

		// Token: 0x060023A8 RID: 9128 RVA: 0x00064D19 File Offset: 0x00062F19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkStartScriptCsReq()
		{
		}

		// Token: 0x060023A9 RID: 9129 RVA: 0x00064D2C File Offset: 0x00062F2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkStartScriptCsReq(ClockParkStartScriptCsReq other) : this()
		{
			this.dMLOCLPCMJM_ = other.dMLOCLPCMJM_.Clone();
			this.scriptId_ = other.scriptId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060023AA RID: 9130 RVA: 0x00064D62 File Offset: 0x00062F62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkStartScriptCsReq Clone()
		{
			return new ClockParkStartScriptCsReq(this);
		}

		// Token: 0x17000A53 RID: 2643
		// (get) Token: 0x060023AB RID: 9131 RVA: 0x00064D6A File Offset: 0x00062F6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DMLOCLPCMJM
		{
			get
			{
				return this.dMLOCLPCMJM_;
			}
		}

		// Token: 0x17000A54 RID: 2644
		// (get) Token: 0x060023AC RID: 9132 RVA: 0x00064D72 File Offset: 0x00062F72
		// (set) Token: 0x060023AD RID: 9133 RVA: 0x00064D7A File Offset: 0x00062F7A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScriptId
		{
			get
			{
				return this.scriptId_;
			}
			set
			{
				this.scriptId_ = value;
			}
		}

		// Token: 0x060023AE RID: 9134 RVA: 0x00064D83 File Offset: 0x00062F83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClockParkStartScriptCsReq);
		}

		// Token: 0x060023AF RID: 9135 RVA: 0x00064D94 File Offset: 0x00062F94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClockParkStartScriptCsReq other)
		{
			return other != null && (other == this || (this.dMLOCLPCMJM_.Equals(other.dMLOCLPCMJM_) && this.ScriptId == other.ScriptId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060023B0 RID: 9136 RVA: 0x00064DE4 File Offset: 0x00062FE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.dMLOCLPCMJM_.GetHashCode();
			if (this.ScriptId != 0U)
			{
				num ^= this.ScriptId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060023B1 RID: 9137 RVA: 0x00064E31 File Offset: 0x00063031
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060023B2 RID: 9138 RVA: 0x00064E39 File Offset: 0x00063039
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060023B3 RID: 9139 RVA: 0x00064E44 File Offset: 0x00063044
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ScriptId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ScriptId);
			}
			this.dMLOCLPCMJM_.WriteTo(ref output, ClockParkStartScriptCsReq._repeated_dMLOCLPCMJM_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060023B4 RID: 9140 RVA: 0x00064E94 File Offset: 0x00063094
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.dMLOCLPCMJM_.CalculateSize(ClockParkStartScriptCsReq._repeated_dMLOCLPCMJM_codec);
			if (this.ScriptId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScriptId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060023B5 RID: 9141 RVA: 0x00064EE8 File Offset: 0x000630E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClockParkStartScriptCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.dMLOCLPCMJM_.Add(other.dMLOCLPCMJM_);
			if (other.ScriptId != 0U)
			{
				this.ScriptId = other.ScriptId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060023B6 RID: 9142 RVA: 0x00064F35 File Offset: 0x00063135
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060023B7 RID: 9143 RVA: 0x00064F40 File Offset: 0x00063140
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 72U && num != 74U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.dMLOCLPCMJM_.AddEntriesFrom(ref input, ClockParkStartScriptCsReq._repeated_dMLOCLPCMJM_codec);
					}
				}
				else
				{
					this.ScriptId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000E84 RID: 3716
		private static readonly MessageParser<ClockParkStartScriptCsReq> _parser = new MessageParser<ClockParkStartScriptCsReq>(() => new ClockParkStartScriptCsReq());

		// Token: 0x04000E85 RID: 3717
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000E86 RID: 3718
		public const int DMLOCLPCMJMFieldNumber = 9;

		// Token: 0x04000E87 RID: 3719
		private static readonly FieldCodec<uint> _repeated_dMLOCLPCMJM_codec = FieldCodec.ForUInt32(74U);

		// Token: 0x04000E88 RID: 3720
		private readonly RepeatedField<uint> dMLOCLPCMJM_ = new RepeatedField<uint>();

		// Token: 0x04000E89 RID: 3721
		public const int ScriptIdFieldNumber = 4;

		// Token: 0x04000E8A RID: 3722
		private uint scriptId_;
	}
}
